package com.vito.dcs.asphalt.pore.dao;


import java.util.*;
import com.vito.dcs.asphalt.pore.model.MixAsphaltPoreModel;

/**
 * 沥青搅拌机设备设置筛孔表持久化接口
 * @author  lyhao E-mail: 
 * @version 0.0.1
 * @date    2019-4-15 11:06:32
 */
public interface MixAsphaltPoreMapper {

	/**
	 * 持久化mixasphaltpore
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:06:32
	 * @return  保存的条数
	 * @param   mixasphaltpore 需要持久化的沥青搅拌机设备设置筛孔表对象
	 */
	public Integer saveMixAsphaltPore(Map<String,Object> map);
	/**
	 * 查询mixasphaltpore集合
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:06:32
	 * @return  查询出的MixAsphaltPoreModel集合
	 * @param   mixasphaltpore 通过沥青搅拌机设备设置筛孔表对象查询
	 */
	public List<MixAsphaltPoreModel> queryMixAsphaltPoreByPage(MixAsphaltPoreModel mixasphaltpore);
	
	/**
	 * 查询mixasphaltpore总条数
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:06:32
	 * @return  查询出的MixAsphaltPoreModel条数
	 * @param   mixasphaltpore 通过沥青搅拌机设备设置筛孔表对象查询
	 */
	public Integer queryMixAsphaltPoreByCount(MixAsphaltPoreModel mixasphaltpore);
	
	/**
	 * 查询mixasphaltpore
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:06:32
	 * @return  查询出的MixAsphaltPoreModel
	 * @param   mixasphaltpore 通过沥青搅拌机设备设置筛孔表对象查询
	 */
	public MixAsphaltPoreModel queryMixAsphaltPore(MixAsphaltPoreModel mixasphaltpore);
	
	/**
	 * 更新mixasphaltpore对象
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:06:32
	 * @return  查询出的更新条数
	 * @param   map 修改mixasphaltpore对象主键对应的其他数据
	 */
	public Integer updateMixAsphaltPore(Map<String,Object> map);
	
	/**
	 * 删除mixasphaltpore
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:06:32
	 * @return  变更条数
	 * @param   mixasphaltpore 删除mixasphaltpore对象的checkeds 包含的mixasphaltpore主键对应的数据
	 */
	public void deleteMixAsphaltPore(String stationId);
	
	public void deleteMixAsphaltPoreByStationId(String id);
	
	public List<MixAsphaltPoreModel> queryMixAsphaltPoreByBlenderId(Map<String, Object> map);

	/**
	 * 根据拌合站ID查看是否存在搅拌机
	 * @param blenderId
	 * @return
	 */
	public String queryAsphaltPoreBlenderId(String  blenderId);

}